<template>
  <div>
    <div style="margin-top:20px" class="qup-title-box"><span class="border" /><span>设计单位确认信息</span></div>
    <el-form
      ref="refForm"
      :rules="formRules"
      :model="formData"
      size="mini"
      label-width="150px"
    >
      <el-row>
        <el-col :span="8">
          <el-form-item label="设计单位确认时间:" prop="designUnitConfirmTime">
            <el-input v-model="formData.designUnitConfirmTime" disabled />
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="确认结果:" prop="confirmResult">
            {{ formData.confirmResult==='1'?'部分':(formData.confirmResult==='2'?'全部':formData.confirmResult) }}
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="16">
          <el-form-item label="设计单位确认备注:" prop="designUnitConfirmRemark">
            <el-input v-model="formData.designUnitConfirmRemark" disabled type="textarea" />
          </el-form-item>
        </el-col>
      </el-row>

    </el-form>
  </div>
</template>
<script>
export default {
  name: 'StudioConfirm',
  props: {
    baseInfo: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      formRules: {},
      formData: {}
    }
  },
  watch: {
    baseInfo: {
      handler(v) {
        this.formData = v
      },
      deep: true,
      immediate: true
    }
  },
  async created() {
  }
}
</script>
